/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-05-22
 * Time: 14:06
 */

class Petdog{
    public String name;
    public String color;

    public void barks(){
        System.out.println(name + "汪汪汪");
    }
    public void wag(){
        System.out.println(name + "摇尾巴");
    }
}





public class Test {
    public class Date{
        public 
    }


    public static void main(String[] args) {
        Petdog dogs = new Petdog();
        dogs.name = "阿黄";
        dogs.color = "黄色";
        dogs.barks();
        dogs.wag();
    }

}
